<?php
namespace App\controllers;
use Core\annotations\Bean;
use Core\annotations\Value;

/**
 * @Bean(name="user")
 */
//Value->name = "version"    env.php=>version=2.3

class UserController{

    /**
     * @Value(name="version")
     */
    public $version;
}